id stringlengths 7 14 | test_class dict | test_case dict | focal_class dict | focal_method dict | repository dict |
|---|---|---|---|---|---|
1459953_5 | {
"fields": [
{
"declarator": "exception = new Exception(\"bug\")",
"modifier": "private final",
"original_string": "private final Exception exception = new Exception(\"bug\");",
"type": "Exception",
"var_name": "exception"
}
],
"file": "20140214-Try/src/test/java/com/zenika/... | {
"body": "@Test\n public void mapFailureTest() {\n Try<Integer> failure1 = new Failure<>(exception);\n Try<Double> failure2 = failure1.map(i -> 1.0);\n assertSame(failure1, failure2);\n }",
"class_method_signature": "TryTest.mapFailureTest()",
"constructor": false,
"full_signature": ... | {
"fields": [],
"file": "20140214-Try/src/main/java/com/zenika/util/Try.java",
"identifier": "Try",
"interfaces": "",
"methods": [
{
"class_method_signature": "Try.of(ThrowingFunction<I, O> function)",
"constructor": false,
"full_signature": "public static Function<I, Try<O>> of(Throwing... | {
"body": "public <F> Try<F> map(Function<E, F> mapper) {\n return flatMap(of(result -> mapper.apply(result)));\n }",
"class_method_signature": "Try.map(Function<E, F> mapper)",
"constructor": false,
"full_signature": "public Try<F> map(Function<E, F> mapper)",
"identifier": "map",
"invocations": ... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_9 | {
"fields": [
{
"declarator": "exception = new Exception(\"bug\")",
"modifier": "private final",
"original_string": "private final Exception exception = new Exception(\"bug\");",
"type": "Exception",
"var_name": "exception"
}
],
"file": "20140214-Try/src/test/java/com/zenika/... | {
"body": "@Test\n public void groupingBySuccessTest() {\n Success<Integer> success = new Success<>(1);\n Failure<Integer> failure = new Failure<>(exception);\n List<Try<Integer>> tries = Arrays.asList(success, failure);\n\n Map<Try.Type, List<Try<Integer>>> tryMap = tries.stream().coll... | {
"fields": [],
"file": "20140214-Try/src/main/java/com/zenika/util/Try.java",
"identifier": "Try",
"interfaces": "",
"methods": [
{
"class_method_signature": "Try.of(ThrowingFunction<I, O> function)",
"constructor": false,
"full_signature": "public static Function<I, Try<O>> of(Throwing... | {
"body": "public static <E> Collector<Try<E>, ?, Map<Type, List<Try<E>>>> groupingBySuccess() {\n return Collectors.groupingBy(t -> t.getType());\n }",
"class_method_signature": "Try.groupingBySuccess()",
"constructor": false,
"full_signature": "public static Collector<Try<E>, ?, Map<Type, List<Try<E... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_2 | {
"fields": [
{
"declarator": "jndiFacade",
"modifier": "private",
"original_string": "private JndiFacade jndiFacade;",
"type": "JndiFacade",
"var_name": "jndiFacade"
},
{
"declarator": "context",
"modifier": "private",
"original_string": "private Context co... | {
"body": "@Test\n\tpublic void testLookup() throws NamingException {\n\t\tJndiDTO data=jndiFacade.lookup(\"string\");\n\t\tassertEquals(\"string\", data.getSimpleName());\n\t\tassertEquals(\"string\", data.getFullName());\n\t\tassertEquals(\"java.lang.String\", data.getTypeNames()[0]);\n\t\t\n\t\tdata=jndiFacade.loo... | {
"fields": [
{
"declarator": "contextName",
"modifier": "private",
"original_string": "private String contextName;",
"type": "String",
"var_name": "contextName"
},
{
"declarator": "dataTypes=new ArrayList<Class>()",
"modifier": "private final",
"original_st... | {
"body": "@Override\n\tpublic JndiDTO lookup(final String name) throws NamingException {\n\t\treturn execute(new ContextCallback<JndiDTO>() {\n\t\t\t@Override\n\t\t\tpublic JndiDTO doInJndi(Context context) throws NamingException {\n\t\t\t\tString fullName=fixName(name);\n\t\t\t\tString simpleName;\n\t\t\t\tObject o... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_3 | {
"fields": [
{
"declarator": "contactService",
"modifier": "private",
"original_string": "private ContactService contactService;",
"type": "ContactService",
"var_name": "contactService"
}
],
"file": "20110503_Spring3.1-Demo/src/test/java/com/company/contactbook/service/Conta... | {
"body": "@Test\n public void testCreateContact() {\n String firstname = \"John\", lastname = \"Doe\";\n\n Contact johnDoe = contactService.createContact(firstname, lastname);\n assertNotNull(johnDoe);\n assertNotNull(johnDoe.getId());\n }",
"class_method_signature": "ContactServi... | {
"fields": [
{
"declarator": "contactDao",
"modifier": "private final",
"original_string": "private final ContactDao contactDao;",
"type": "ContactDao",
"var_name": "contactDao"
}
],
"file": "20110503_Spring3.1-Demo/src/main/java/com/company/contactbook/service/ContactServic... | {
"body": "public Contact createContact(String firstname, String lastname) {\n Contact contact = new Contact();\n contact.setFirstname(firstname);\n contact.setLastname(lastname);\n contactDao.createContact(contact);\n return contact;\n }",
"class_method_signature": "ContactSer... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_0 | {
"fields": [
{
"declarator": "jndiFacade",
"modifier": "private",
"original_string": "private JndiFacade jndiFacade;",
"type": "JndiFacade",
"var_name": "jndiFacade"
},
{
"declarator": "context",
"modifier": "private",
"original_string": "private Context co... | {
"body": "@Test\n\tpublic void testGetData() throws NamingException {\n\t\tassertEquals(3, jndiFacade.getData().length);\n\t}",
"class_method_signature": "JndiFacadeTest.testGetData()",
"constructor": false,
"full_signature": "@Test public void testGetData()",
"identifier": "testGetData",
"invocations": [
... | {
"fields": [
{
"declarator": "contextName",
"modifier": "private",
"original_string": "private String contextName;",
"type": "String",
"var_name": "contextName"
},
{
"declarator": "dataTypes=new ArrayList<Class>()",
"modifier": "private final",
"original_st... | {
"body": "@Override\n\tpublic JndiDTO[] getData() throws NamingException {\n\t\treturn list(\"\");\n\t}",
"class_method_signature": "JndiFacade.getData()",
"constructor": false,
"full_signature": "@Override public JndiDTO[] getData()",
"identifier": "getData",
"invocations": [
"list"
],
"modifiers"... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_10 | {
"fields": [
{
"declarator": "exception = new Exception(\"bug\")",
"modifier": "private final",
"original_string": "private final Exception exception = new Exception(\"bug\");",
"type": "Exception",
"var_name": "exception"
}
],
"file": "20140214-Try/src/test/java/com/zenika/... | {
"body": "@Test\n public void isPresentSuccessTest() {\n AtomicInteger atomicInteger = new AtomicInteger(0);\n Success<AtomicInteger> success = new Success<>(atomicInteger);\n success.ifPresent(input -> input.incrementAndGet());\n assertEquals(1, success.getResult().get());\n }",
... | {
"fields": [],
"file": "20140214-Try/src/main/java/com/zenika/util/Try.java",
"identifier": "Try",
"interfaces": "",
"methods": [
{
"class_method_signature": "Try.of(ThrowingFunction<I, O> function)",
"constructor": false,
"full_signature": "public static Function<I, Try<O>> of(Throwing... | {
"body": "public void ifPresent(Consumer<E> consumer) {\n if(isSuccess()) {\n consumer.accept(asSuccess().getResult());\n }\n }",
"class_method_signature": "Try.ifPresent(Consumer<E> consumer)",
"constructor": false,
"full_signature": "public void ifPresent(Consumer<E> consumer)",
... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_1 | {
"fields": [
{
"declarator": "jndiFacade",
"modifier": "private",
"original_string": "private JndiFacade jndiFacade;",
"type": "JndiFacade",
"var_name": "jndiFacade"
},
{
"declarator": "context",
"modifier": "private",
"original_string": "private Context co... | {
"body": "@Test\n\tpublic void testList() throws NamingException {\n\t\tassertEquals(3, jndiFacade.list(null).length);\n\t\tassertEquals(3, jndiFacade.list(\"\").length);\n\t\tfinal JndiDTO[] namingDatas = jndiFacade.list(\"subcontext\");\n\t\tassertEquals(1, namingDatas.length);\n\t\tassertEquals(\"subcontext/boole... | {
"fields": [
{
"declarator": "contextName",
"modifier": "private",
"original_string": "private String contextName;",
"type": "String",
"var_name": "contextName"
},
{
"declarator": "dataTypes=new ArrayList<Class>()",
"modifier": "private final",
"original_st... | {
"body": "@Override\n\tpublic JndiDTO[] list(final String name) throws NamingException {\n\t\treturn execute(new ContextCallback<JndiDTO[]>() {\n\t\t\t@Override\n\t\t\tpublic JndiDTO[] doInJndi(Context context) throws NamingException {\n\t\t\t\tNamingEnumeration<NameClassPair> namingEnum=null;\n\t\t\t\ttry {\n\t\t\t... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_6 | {
"fields": [
{
"declarator": "exception = new Exception(\"bug\")",
"modifier": "private final",
"original_string": "private final Exception exception = new Exception(\"bug\");",
"type": "Exception",
"var_name": "exception"
}
],
"file": "20140214-Try/src/test/java/com/zenika/... | {
"body": "@Test\n public void toOptionSuccessTest() {\n Try<Integer> success = new Success<>(1);\n Optional<Integer> option = success.toOption();\n assertEquals(Integer.valueOf(1), option.get());\n }",
"class_method_signature": "TryTest.toOptionSuccessTest()",
"constructor": false,
"... | {
"fields": [],
"file": "20140214-Try/src/main/java/com/zenika/util/Try.java",
"identifier": "Try",
"interfaces": "",
"methods": [
{
"class_method_signature": "Try.of(ThrowingFunction<I, O> function)",
"constructor": false,
"full_signature": "public static Function<I, Try<O>> of(Throwing... | {
"body": "public Optional<E> toOption() {\n return isSuccess() ? Optional.ofNullable(asSuccess().getResult()) : Optional.<E>empty();\n }",
"class_method_signature": "Try.toOption()",
"constructor": false,
"full_signature": "public Optional<E> toOption()",
"identifier": "toOption",
"invocations": ... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
1459953_7 | {
"fields": [
{
"declarator": "exception = new Exception(\"bug\")",
"modifier": "private final",
"original_string": "private final Exception exception = new Exception(\"bug\");",
"type": "Exception",
"var_name": "exception"
}
],
"file": "20140214-Try/src/test/java/com/zenika/... | {
"body": "@Test\n public void toOptionFailureTest() {\n Try<Integer> success;\n success = new Failure<>(exception);\n Optional<Integer> option = success.toOption();\n assertFalse(option.isPresent());\n }",
"class_method_signature": "TryTest.toOptionFailureTest()",
"constructor":... | {
"fields": [],
"file": "20140214-Try/src/main/java/com/zenika/util/Try.java",
"identifier": "Try",
"interfaces": "",
"methods": [
{
"class_method_signature": "Try.of(ThrowingFunction<I, O> function)",
"constructor": false,
"full_signature": "public static Function<I, Try<O>> of(Throwing... | {
"body": "public Optional<E> toOption() {\n return isSuccess() ? Optional.ofNullable(asSuccess().getResult()) : Optional.<E>empty();\n }",
"class_method_signature": "Try.toOption()",
"constructor": false,
"full_signature": "public Optional<E> toOption()",
"identifier": "toOption",
"invocations": ... | {
"created": null,
"fork": null,
"fork_count": 29,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 1459953,
"size": 5455,
"stargazer_count": 19,
"stars": null,
"updates": null,
"url": "https://github.com/Zenika/Blogs"
} |
39427174_57 | {
"fields": [
{
"declarator": "userService = new BCMerchantBuyerService()",
"modifier": "private",
"original_string": "private BCMerchantBuyerService userService = new BCMerchantBuyerService();",
"type": "BCMerchantBuyerService",
"var_name": "userService"
}
],
"file": "sdk/sr... | {
"body": "@Test\n public void testAddMerchantUser() {\n String userId = UUID.randomUUID().toString().replace(\"-\", \"\");\n System.out.println(userId);\n BCRestfulCommonResult commonResult = userService.addMerchantBuyer(userId);\n System.out.println(commonResult.getResultMsg());\n ... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCMerchantBuyerService.java",
"identifier": "BCMerchantBuyerService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCMerchantBuyerService.addMerchantBuyer(String buyerId)",
"constructor": false,
"full_signature": "publ... | {
"body": "public BCRestfulCommonResult addMerchantBuyer(String buyerId) {\n Map<String, Object> reqMap = new HashMap<>();\n reqMap.put(\"buyer_id\", buyerId);\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/user\";\n return BCHttpClientUtil.addRestObject(url, reqMap, BCRestfulCo... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_16 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqRevertBillAsyncSucc() throws Exception {\n BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"Success\\\",\\\"result_code\\\":0,\\\"rever... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqRevertBillAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_9 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock network\n PowerMockito.stub(PowerMockito.method(B... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_41 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundByIDAsyncParamInvalid() throws Exception {\n\n query.queryRefundByIDAsync(null, new BCCallback() {\n @Override\n public void done(BCResult result) {\n //传出的应是BCQueryRefundResult类型\n Assert.assertTrue(result ins... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_36 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundStatusAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n query.queryRefundStatusAsync(BCReqParams.BCChannelTypes.WX,\n \"refundnum\",\n new BCCallback() {\n @Override\n p... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,\n final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorSe... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_61 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testClear() throws Exception {\n BCPay.clear();\n\n Assert.assertEquals(null, BCPay.mContextActivity);\n Assert.assertEquals(null, BCPay.payCallback);\n }",
"class_method_signature": "BCPayTest.testClear()",
"constructor": false,
"full_signature": "@Test... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "public static void clear() {\n mContextActivity = null;\n payCallback = null;\n }",
"class_method_signature": "BCPay.clear()",
"constructor": false,
"full_signature": "public static void clear()",
"identifier": "clear",
"invocations": [],
"modifiers": "public static",
"parame... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_20 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be more content for bills, here just keep one record for the limit... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_5 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n pay.reqQRCodeAsync(BCReqParams.BCChannelTypes.ALI_OFFLINE_QRCODE,\n \"billtitle\",\n 1,\n \"billnum\",\n null,\n B... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_4 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncByBean() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"code_url\\\":\\\"weixin://wxpay/bizpayurl?pr=ESDN0qd\\\",\... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_21 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncByChannel() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for bills, here delete the record for the limit of... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_60 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testInitWechatPay() throws Exception {\n Object[][] test = new Object[][] {\n new Object[]{null, null},\n new Object[]{activity, null}\n };\n\n for (Object[] objects : test) {\n Assert.assertTrue(\n BCPa... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "public static String initWechatPay(Context context, String wechatAppID) {\n String errMsg = null;\n\n if (context == null) {\n errMsg = \"Error: initWechatPay里,context参数不能为null.\";\n Log.e(TAG, errMsg);\n return errMsg;\n }\n\n if (wechatAppID ==... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_37 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillByIDAsyncParamInvalid() throws Exception {\n\n query.queryBillByIDAsync(null, new BCCallback() {\n @Override\n public void done(BCResult result) {\n //传出的应是BCQueryBillResult类型\n Assert.assertTrue(result instanceo... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_40 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillByIDAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\"... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_8 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncParamInvalid() throws Exception {\n\n Object[][] test = new Object[][] {\n //依次对应必填参数 渠道类型 订单标题 订单金额 订单流水号 收款码\n new Object[]{null, null, null, null, null},\n new Object[]{BCReqParams.BCChannelTypes.ALI_APP, nu... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_17 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqRevertBillAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n pay.reqRevertBillAsync(BCReqParams.BCChannelTypes.ALI_SCAN,\n \"billnum\",\n new BCCallback() {\n @Override\n public ... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqRevertBillAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_56 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsCountAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n BCQuery.QueryParams queryParams = new BCQuery.QueryParams();\n queryParams.channel = BCReqParams.BCChannelTypes.WX;\n\n query.queryRefundsCountAsync(queryParams,\n ... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_REFU... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_30 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncByBean() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for refunds, here delete the record for the limit o... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_67 | {
"fields": [
{
"declarator": "couponService = new BCSalesService()",
"modifier": "private",
"original_string": "private BCSalesService couponService = new BCSalesService();",
"type": "BCSalesService",
"var_name": "couponService"
}
],
"file": "sdk/src/test/java/cn/beecloud/BC... | {
"body": "@Test\n public void testCreateCoupon() {\n// BCCouponResult couponResult = couponService.createCoupon(\"15fb6192-d642-4dc7-9188-eb9367704a41\",\n// \"xz-test-buyer1\");\n// System.out.println(couponResult.getErrDetail());\n// Assert.assertTrue(couponResult.getResultCo... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCSalesService.java",
"identifier": "BCSalesService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCSalesService.createCoupon(String templateId, String userId)",
"constructor": false,
"full_signature": "public BCCoupo... | {
"body": "public BCCouponResult createCoupon(String templateId, String userId) {\n Map<String, Object> reqParams = new HashMap<>();\n reqParams.put(\"template_id\", templateId);\n reqParams.put(\"user_id\", userId);\n\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/coupon\";\n\n... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_71 | {
"fields": [
{
"declarator": "couponService = new BCSalesService()",
"modifier": "private",
"original_string": "private BCSalesService couponService = new BCSalesService();",
"type": "BCSalesService",
"var_name": "couponService"
}
],
"file": "sdk/src/test/java/cn/beecloud/BC... | {
"body": "@Test\n public void testQueryCouponTemplates() {\n BCCouponTemplateCriteria templateCriteria = new BCCouponTemplateCriteria();\n templateCriteria.setName(\"111111111111\");\n BCCouponTemplatesResult templatesResult = couponService.queryCouponTemplates(templateCriteria);\n Ass... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCSalesService.java",
"identifier": "BCSalesService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCSalesService.createCoupon(String templateId, String userId)",
"constructor": false,
"full_signature": "public BCCoupo... | {
"body": "public BCCouponTemplatesResult queryCouponTemplates(BCCouponTemplateCriteria templateCriteria) {\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/coupon/template\";\n\n return (BCCouponTemplatesResult) BCHttpClientUtil.queryRestObjects(url,\n BCHttpClientUtil.objectToM... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_26 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpClie... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_3 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"code_url\\\":\\\"weixin://wxpay/bizpayurl?pr=ESDN0qd\\\",\\\... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_51 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsCountAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpC... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_BILLS_... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_10 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncErrorFromServer() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"CHANNEL_ERROR\\\",\\\"err_detail\\\":\\\"AUTHCODEEXPIRE\... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_47 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryOfflineBillStatusAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_46 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryOfflineBillStatusAsyncBillNumInvalid() throws Exception {\n query.queryOfflineBillStatusAsync(BCReqParams.BCChannelTypes.WX_SCAN,\n null,\n new BCCallback() {\n @Override\n public void done(BCResult r... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_11 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"result_code\\\":0,\\\"pay_re... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_50 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsCountAsyncChannelInvalid() throws Exception {\n BCQuery.QueryParams queryParams = new BCQuery.QueryParams();\n queryParams.channel = null;\n\n query.queryBillsCountAsync(queryParams,\n new BCCallback() {\n @Override... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_BILLS_... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_2 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncErrorFromServer() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"RUNTIME_ERORR\\\",\\\"err_detail\\\":\\\"未知错误,请联系BeeCloud\\\... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_27 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be more content for refunds, here just keep one record for the l... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_70 | {
"fields": [
{
"declarator": "couponService = new BCSalesService()",
"modifier": "private",
"original_string": "private BCSalesService couponService = new BCSalesService();",
"type": "BCSalesService",
"var_name": "couponService"
}
],
"file": "sdk/src/test/java/cn/beecloud/BC... | {
"body": "@Test\n public void testQueryCouponTemplate() {\n BCCouponTemplateResult templateResult = couponService.queryCouponTemplate(\"b7bf7c8e-321b-4451-8b3a-6fd630836641\");\n Assert.assertTrue(templateResult.getResultCode() == 0);\n BCCouponTemplate template = templateResult.getCouponTemp... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCSalesService.java",
"identifier": "BCSalesService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCSalesService.createCoupon(String templateId, String userId)",
"constructor": false,
"full_signature": "public BCCoupo... | {
"body": "public BCCouponTemplateResult queryCouponTemplate(String id) {\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/coupon/template\";\n\n return (BCCouponTemplateResult) BCHttpClientUtil.queryRestObjectById(url, id,\n BCCouponTemplateResult.class, true, true);\n }",
... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_66 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testReqUnionPaymentAsync() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"result_code\\\":0,\\\"tn\\\":\... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "public void reqUnionPaymentAsync(final String billTitle, final Integer billTotalFee,\n final String billNum,\n final Map<String, String> optional,\n final BCCallback callback) {\n this.reqPaym... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_31 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n query.queryRefundsAsync(BCReqParams.BCChannelTypes.ALL,\n new BCCallback() {\n @Override\n public void done(BCResult result) {\n ... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_1 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpClientU... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_49 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryOfflineBillStatusAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n query.queryOfflineBillStatusAsync(BCReqParams.BCChannelTypes.WX_NATIVE,\n \"fakeid\",\n new BCCallback() {\n @Override\n ... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_24 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for bills, he... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_65 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testReqWXPaymentAsync() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"nonce_str\\\":\\\"20151119114011235\\\",\\\"package\\\":\\\"Sign=WXPay\\\",\\\"resultCode\\... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "public void reqWXPaymentAsync(final String billTitle, final Integer billTotalFee,\n final String billNum,\n final Map<String, String> optional, final BCCallback callback) {\n this.reqPaymentAsync(BCReqParams.BCChannelTypes.WX_APP, bil... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_32 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundStatusAsyncChannelInvalid() throws Exception {\n query.queryRefundStatusAsync(BCReqParams.BCChannelTypes.ALI,\n \"refundnum\",\n new BCCallback() {\n @Override\n public void done(BCResult result... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,\n final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorSe... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_45 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryOfflineBillStatusAsyncChannelInvalid() throws Exception {\n query.queryOfflineBillStatusAsync(BCReqParams.BCChannelTypes.WX_APP,\n null,\n new BCCallback() {\n @Override\n public void done(BCResult re... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_12 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncByBean() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"result_code\\\":0,\\\"pay_... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_53 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsCountAsyncChannelInvalid() throws Exception {\n BCQuery.QueryParams queryParams = new BCQuery.QueryParams();\n queryParams.channel = null;\n\n query.queryRefundsCountAsync(queryParams,\n new BCCallback() {\n @Over... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_REFU... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_28 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncByChannel() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for refunds, here delete the record for the limi... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_69 | {
"fields": [
{
"declarator": "couponService = new BCSalesService()",
"modifier": "private",
"original_string": "private BCSalesService couponService = new BCSalesService();",
"type": "BCSalesService",
"var_name": "couponService"
}
],
"file": "sdk/src/test/java/cn/beecloud/BC... | {
"body": "@Test\n public void testQueryCoupons() {\n BCCouponCriteria couponCriteria = new BCCouponCriteria();\n couponCriteria.setStatus(1);\n BCCouponsResult couponsResult = couponService.queryCoupons(couponCriteria);\n Assert.assertTrue(couponsResult.getResultCode() == 0);\n ... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCSalesService.java",
"identifier": "BCSalesService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCSalesService.createCoupon(String templateId, String userId)",
"constructor": false,
"full_signature": "public BCCoupo... | {
"body": "public BCCouponsResult queryCoupons(BCCouponCriteria couponCriteria) {\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/coupon\";\n\n return (BCCouponsResult) BCHttpClientUtil.queryRestObjects(url,\n BCHttpClientUtil.objectToMap(couponCriteria), BCCouponsResult.class,\... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_68 | {
"fields": [
{
"declarator": "couponService = new BCSalesService()",
"modifier": "private",
"original_string": "private BCSalesService couponService = new BCSalesService();",
"type": "BCSalesService",
"var_name": "couponService"
}
],
"file": "sdk/src/test/java/cn/beecloud/BC... | {
"body": "@Test\n public void testQueryCoupon() {\n BCCouponResult couponResult = couponService.queryCoupon(\"79578fba-7330-4f4f-a063-3e97de28783a\");\n Assert.assertTrue(couponResult.getResultCode() == 0);\n BCCoupon coupon = couponResult.getCoupon();\n System.out.println(coupon.getAp... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCSalesService.java",
"identifier": "BCSalesService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCSalesService.createCoupon(String templateId, String userId)",
"constructor": false,
"full_signature": "public BCCoupo... | {
"body": "public BCCouponResult queryCoupon(String id) {\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest/coupon\";\n\n return (BCCouponResult) BCHttpClientUtil.queryRestObjectById(url, id, BCCouponResult.class,\n true, true);\n }",
"class_method_signature": "BCSalesService... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_29 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncByChannelBillRefundNum() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for refunds, here delete the record... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_52 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsCountAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"count\\\":826,\\\"result_c... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_BILLS_... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_13 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqOfflinePayAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n pay.reqOfflinePayAsync(BCReqParams.BCChannelTypes.ALI_SCAN,\n \"正常title\",\n 1,\n \"123456789abcde\",\n null,\n ... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqOfflinePayAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final String... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_44 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundByIDAsyncTestMode() throws Exception {\n BeeCloud.setSandbox(true);\n\n query.queryRefundByIDAsync(\"refundid\",\n new BCCallback() {\n @Override\n public void done(BCResult result) {\n ... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_33 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundStatusAsyncRefundNumInvalid() throws Exception {\n query.queryRefundStatusAsync(BCReqParams.BCChannelTypes.WX,\n null,\n new BCCallback() {\n @Override\n public void done(BCResult result) {\n ... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,\n final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorSe... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_64 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testReqPaymentAsyncErrorFromServer() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"PAY_FACTOR_NOT_SET\\\",\\\"err_detail\\\":\\\"支付宝参数: partne... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "private void reqPaymentAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Integer billTimeout,\n final String notifyUrl, final... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_25 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsAsyncChannelNull() throws Exception {\n query.queryRefundsAsync(null, null, null, null, null, null, null, new BCCallback() {\n @Override\n public void done(BCResult result) {\n Assert.assertTrue(result instanceof BCQueryRefu... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsAsync(final BCReqParams.BCChannelTypes channel, final String billNum, final String refundNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_48 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryOfflineBillStatusAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"submit_msg\\\":\\\"OK\\\",\\\"resultCode\\\":0,... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryOfflineBillStatusAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_0 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqQRCodeAsyncParamInvalid() throws Exception {\n //依次对应必填参数 订单标题 订单金额 订单流水号\n Object[][] test = new Object[][] {\n new Object[]{null, null, null},\n new Object[]{\"试一个很长的title--参数公共返回参数取值及含义参见支付公共返回参数部分\", null, null},\n ... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqQRCodeAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, fin... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_43 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundByIDAsyncSucc() throws Exception {\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"result_code\\\":0,\\\"re... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_14 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqRevertBillAsyncParamInvalid() throws Exception {\n Object[][] test = new Object[][]{\n //依次代表渠道类型 订单流水号\n new Object[]{null, null},\n new Object[]{BCReqParams.BCChannelTypes.ALI_APP, null},\n new Object[]{BCReq... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqRevertBillAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_55 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsCountAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"count\\\":826,\\\"result... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_REFU... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_38 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillByIDAsyncNetworkError() throws Exception {\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpC... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_7 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqAliOfflineQRCodeAsync() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpClientUti... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqAliOfflineQRCodeAsync(final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, final Integer qrCodeWidth,\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_18 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncChannelNull() throws Exception {\n query.queryBillsAsync(null, null, null, null, null, null, new BCCallback() {\n @Override\n public void done(BCResult result) {\n Assert.assertTrue(result instanceof BCQueryBillsResult);\... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_59 | {
"fields": [
{
"declarator": "userService = new BCMerchantBuyerService()",
"modifier": "private",
"original_string": "private BCMerchantBuyerService userService = new BCMerchantBuyerService();",
"type": "BCMerchantBuyerService",
"var_name": "userService"
}
],
"file": "sdk/sr... | {
"body": "@Test\n public void testGetMerchantUsers() {\n BCQueryMerchantBuyerResult result = userService.getMerchantBuyers(\"test@beecloud.cn\", null, null);\n Assert.assertTrue(result.getResultCode() == 0);\n if (result.getUsers() != null && result.getUsers().size() != 0) {\n Syst... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCMerchantBuyerService.java",
"identifier": "BCMerchantBuyerService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCMerchantBuyerService.addMerchantBuyer(String buyerId)",
"constructor": false,
"full_signature": "publ... | {
"body": "public BCQueryMerchantBuyerResult getMerchantBuyers(String merchant, Long startTime, Long endTime) {\n Map<String, Object> reqMap = new HashMap<>();\n if (merchant != null) {\n reqMap.put(\"email\", merchant);\n }\n if (startTime != null) {\n reqMap.put(\"s... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_22 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncByChannelBillNum() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for bills, here delete the record for the l... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_63 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testReqPaymentAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"mocked\";\n\n //mock network\n PowerMockito.stub(PowerMockito.method(BCH... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "private void reqPaymentAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Integer billTimeout,\n final String notifyUrl, final... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_34 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundStatusAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHtt... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,\n final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorSe... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_35 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundStatusAsyncSucc() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"refund_status\\\":\\\"SUCCESS\\\",\\\"resultCode\\\"... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundStatusAsync(final BCReqParams.BCChannelTypes channel, final String refundNum,\n final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorSe... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_62 | {
"fields": [
{
"declarator": "activity",
"modifier": "",
"original_string": "Activity activity;",
"type": "Activity",
"var_name": "activity"
},
{
"declarator": "pay",
"modifier": "",
"original_string": "BCPay pay;",
"type": "BCPay",
"var_name": ... | {
"body": "@Test\n public void testReqPaymentAsyncParamsInvalid() throws Exception {\n Object[][] test = new Object[][]{\n //依次对应必填参数 渠道类型 订单标题 订单金额 订单流水号\n new Object[]{BCReqParams.BCChannelTypes.JD_WAP, null, null, null},\n new Object[]{BCReqParams.BCChannelTyp... | {
"fields": [
{
"declarator": "TAG = \"BCPay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCPay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "payCallback",
"modifier": "static",
"original_stri... | {
"body": "private void reqPaymentAsync(final BCReqParams.BCChannelTypes channelType,\n final String billTitle, final Integer billTotalFee,\n final String billNum, final Integer billTimeout,\n final String notifyUrl, final... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_23 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncByBean() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n //please note this content is fake, there should be content for bills, here delete the record for the limit of sp... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_58 | {
"fields": [
{
"declarator": "userService = new BCMerchantBuyerService()",
"modifier": "private",
"original_string": "private BCMerchantBuyerService userService = new BCMerchantBuyerService();",
"type": "BCMerchantBuyerService",
"var_name": "userService"
}
],
"file": "sdk/sr... | {
"body": "@Test\n public void testBatchAddMerchantUsers() {\n List<String> userIdList = new LinkedList<>();\n for (int i = 0; i < 2; i++) {\n userIdList.add(UUID.randomUUID().toString().replace(\"-\", \"\"));\n }\n\n BCRestfulCommonResult commonResult = userService.batchAddM... | {
"fields": [],
"file": "sdk/src/main/java/cn/beecloud/BCMerchantBuyerService.java",
"identifier": "BCMerchantBuyerService",
"interfaces": "",
"methods": [
{
"class_method_signature": "BCMerchantBuyerService.addMerchantBuyer(String buyerId)",
"constructor": false,
"full_signature": "publ... | {
"body": "public BCRestfulCommonResult batchAddMerchantBuyers(String merchant, List<String> buyerIdList) {\n Map<String, Object> reqMap = new HashMap<>();\n reqMap.put(\"email\", merchant);\n reqMap.put(\"buyer_ids\", buyerIdList);\n String url = BCHttpClientUtil.BEECLOUD_HOST + \"/2/rest... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_19 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillsAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHttpClient... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillsAsync(final BCReqParams.BCChannelTypes channel, final String billNum,\n final Long startTime, final Long endTime,\n final Integer skip, final Integer limit, final BCCallback callback) {\n queryOrdersAsync(channel, Qu... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_6 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqWXNativeQRCodeAsync() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"code_url\\\":\\\"weixin://wxpay/bizpayurl?pr=ESDN0qd\\\"... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqWXNativeQRCodeAsync(final String billTitle, final Integer billTotalFee,\n final String billNum, final Map<String, String> optional,\n final Boolean genQRCode, final Integer qrCodeWidth,\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_39 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryBillByIDAsyncSucc() throws Exception {\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 200;\n response.content = \"{\\\"result_msg\\\":\\\"OK\\\",\\\"err_detail\\\":\\\"\\\",\\\"pay\\\":{\\\"spay_result\\... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryBillByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_54 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundsCountAsyncNetworkError() throws Exception {\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHtt... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundsCountAsync(final QueryParams queryParams, final BCCallback callback) {\n if (queryParams == null) {\n Log.w(TAG, \"查询参数queryParams不可为null\");\n return;\n }\n\n queryOrdersAsync(queryParams.channel,\n QueryOrderType.QUERY_REFU... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_15 | {
"fields": [
{
"declarator": "pay",
"modifier": "",
"original_string": "BCOfflinePay pay;",
"type": "BCOfflinePay",
"var_name": "pay"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
... | {
"body": "@Test\n public void testReqRevertBillAsyncNetworkError() throws Exception {\n BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock network\n PowerMockito.stub(PowerMockito.method(BCHttpC... | {
"fields": [
{
"declarator": "TAG = \"BCOfflinePay\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCOfflinePay\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
... | {
"body": "public void reqRevertBillAsync(final BCReqParams.BCChannelTypes channelType,\n final String billNum,\n final BCCallback callback) {\n\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
39427174_42 | {
"fields": [
{
"declarator": "query",
"modifier": "",
"original_string": "BCQuery query;",
"type": "BCQuery",
"var_name": "query"
},
{
"declarator": "latch",
"modifier": "",
"original_string": "CountDownLatch latch;",
"type": "CountDownLatch",
"... | {
"body": "@Test\n public void testQueryRefundByIDAsyncNetworkError() throws Exception {\n\n final BCHttpClientUtil.Response response = new BCHttpClientUtil.Response();\n response.code = 400;\n response.content = \"wrong\";\n\n //mock\n PowerMockito.stub(PowerMockito.method(BCHtt... | {
"fields": [
{
"declarator": "TAG = \"BCQuery\"",
"modifier": "private static final",
"original_string": "private static final String TAG = \"BCQuery\";",
"type": "String",
"var_name": "TAG"
},
{
"declarator": "instance",
"modifier": "private static",
"orig... | {
"body": "public void queryRefundByIDAsync(final String id, final BCCallback callback) {\n if (callback == null) {\n Log.w(TAG, \"请初始化callback\");\n return;\n }\n\n BCCache.executorService.execute(new Runnable() {\n @Override\n public void run() {\n ... | {
"created": null,
"fork": null,
"fork_count": 25,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 39427174,
"size": 20040,
"stargazer_count": 60,
"stars": null,
"updates": null,
"url": "https://github.com/beecloud/beecloud-android"
} |
17612803_805 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Spacerace game;",
"type": "Spacerace",
"var_name": "game"
},
{
"declarator": "charger = getBulletCharger()",
"modifier": "private",
"original_string": "private BulletCha... | {
"body": "@Test\n public void shouldFieldICanMove() {\n //given\n givenFl(\"☼ ☼\" +\n \"☼ ☼\" +\n \"☼ ☺ ☼\" +\n \"☼ ☼\" +\n \"☼ ☼\");\n //when\n diceNew(); // выключаем генерацию каменей и мин\n hero.up();\n ... | {
"fields": [
{
"declarator": "NEW_APPEAR_PERIOD = 3",
"modifier": "private static final",
"original_string": "private static final int NEW_APPEAR_PERIOD = 3;",
"type": "int",
"var_name": "NEW_APPEAR_PERIOD"
},
{
"declarator": "MAX_COUNT_BULLET_PACKS = 1",
"modifi... | {
"body": "@Override\n public void tick() {\n explosions.clear();\n createStone();\n createBomb();\n createBulletPack();\n tickHeroes();\n removeHeroDestroyedByBullet();\n tickBullets();\n tickStones();\n tickBombs();\n removeHeroDestroyedByBull... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_556 | {
"fields": [
{
"declarator": "joystick",
"modifier": "private",
"original_string": "private Joystick joystick;",
"type": "Joystick",
"var_name": "joystick"
}
],
"file": "CodingDojo/games/engine/src/test/java/com/codenjoy/dojo/services/PlayerCommandTest.java",
"identifier":... | {
"body": "@Test\n public void shouldActCommand() {\n execute(\"act\");\n\n verify(joystick, only()).act();\n }",
"class_method_signature": "PlayerCommandTest.shouldActCommand()",
"constructor": false,
"full_signature": "@Test public void shouldActCommand()",
"identifier": "shouldActComman... | {
"fields": [
{
"declarator": "logger = DLoggerFactory.getLogger(PlayerCommand.class)",
"modifier": "private static",
"original_string": "private static Logger logger = DLoggerFactory.getLogger(PlayerCommand.class);",
"type": "Logger",
"var_name": "logger"
},
{
"declara... | {
"body": "public void execute(){\n Matcher matcher = PATTERN.matcher(command);\n while (matcher.find()) {\n String command = matcher.group(0);\n if (command == null) {\n continue;\n }\n command = command.toLowerCase();\n\n try {\n ... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_74 | {
"fields": [
{
"declarator": "board",
"modifier": "private",
"original_string": "private Board board;",
"type": "Board",
"var_name": "board"
},
{
"declarator": "solver",
"modifier": "private",
"original_string": "private AISolver solver;",
"type": "AI... | {
"body": "@Test\n public void shouldFindWay_withRobotsOverBox() {\n // given\n board = board(\n \"╔════┐\" +\n \"║....│\" +\n \"║....│\" +\n \"║....│\" +\n \"║...$│\" +\n \"└────┘\",\n\n \"------... | {
"fields": [],
"file": "CodingDojo/games/icancode/src/main/java/com/codenjoy/dojo/icancode/client/ai/AISolver.java",
"identifier": "AISolver",
"interfaces": "",
"methods": [
{
"class_method_signature": "AISolver.AISolver(Dice dice)",
"constructor": true,
"full_signature": "public AISol... | {
"body": "List<Direction> getShortestWay(Board board, List<Point> to) {\n DeikstraFindWay.Possible map = possible(board);\n DeikstraFindWay findWay = new DeikstraFindWay();\n List<Direction> shortestWay = findWay.getShortestWay(board.size(), board.getMe(), to, map);\n return shortestWay;\... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_106 | {
"fields": [
{
"declarator": "BOARD_SIZE = 9",
"modifier": "private static final",
"original_string": "private static final int BOARD_SIZE = 9;",
"type": "int",
"var_name": "BOARD_SIZE"
},
{
"declarator": "SNAKE_SIZE = 2",
"modifier": "private static final",
... | {
"body": "@Test\n public void shouldNotChangeYPosition_whenTurnLeftInertia() {\n // given\n hero.down();\n board.tick();\n\n hero.left();\n board.tick();\n\n asrtBrd(\"☼☼☼☼☼☼☼☼☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ☼\\n\" +\n ... | {
"fields": [
{
"declarator": "walls",
"modifier": "private",
"original_string": "private Walls walls;",
"type": "Walls",
"var_name": "walls"
},
{
"declarator": "stone",
"modifier": "private",
"original_string": "private Stone stone;",
"type": "Stone",... | {
"body": "@Override\n public void tick() {\n if (!snake().isAlive()) return;\n\n snake().walk(this);\n }",
"class_method_signature": "Snake.tick()",
"constructor": false,
"full_signature": "@Override public void tick()",
"identifier": "tick",
"invocations": [
"isAlive",
"snake",... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_413 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Loderunner game;",
"type": "Loderunner",
"var_name": "game"
},
{
"declarator": "hero",
"modifier": "private",
"original_string": "private Hero hero;",
"type": "Her... | {
"body": "@Test\n public void shouldMonsterGetUpFromPit() {\n shouldEnemyFallInPitLeft();\n\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tick();\n game.tic... | {
"fields": [
{
"declarator": "field",
"modifier": "private",
"original_string": "private Point[][] field;",
"type": "Point[][]",
"var_name": "field"
},
{
"declarator": "players",
"modifier": "private",
"original_string": "private List<Player> players;",
... | {
"body": "@Override\n public void tick() {\n Set<Player> die = new HashSet<>();\n\n heroesGo();\n die.addAll(getDied());\n\n enemiesGo();\n die.addAll(getDied());\n\n die.addAll(bricksGo());\n\n for (Player player : die) {\n player.event(Events.KILL_HERO... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_940 | {
"fields": [
{
"declarator": "registration",
"modifier": "private",
"original_string": "private Registration registration;",
"type": "Registration",
"var_name": "registration"
},
{
"declarator": "saveService",
"modifier": "private",
"original_string": "priv... | {
"body": "@Test\n public void shouldLoadAll() {\n when(saver.getSavedList()).thenReturn(Arrays.asList(\"first\", \"second\"));\n allPlayersNotRegistered();\n\n PlayerSave first = mock(PlayerSave.class);\n PlayerSave second = mock(PlayerSave.class);\n when(saver.loadGame(\"first\... | {
"fields": [
{
"declarator": "DEFAULT_CALLBACK_URL = \"127.0.0.1\"",
"modifier": "public static final",
"original_string": "public static final String DEFAULT_CALLBACK_URL = \"127.0.0.1\";",
"type": "String",
"var_name": "DEFAULT_CALLBACK_URL"
},
{
"declarator": "saver... | {
"body": "@Override\n public void loadAll() {\n for (String id : saver.getSavedList()) {\n load(id);\n }\n }",
"class_method_signature": "SaveServiceImpl.loadAll()",
"constructor": false,
"full_signature": "@Override public void loadAll()",
"identifier": "loadAll",
"invocatio... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_690 | {
"fields": [
{
"declarator": "dice",
"modifier": "private",
"original_string": "private Dice dice;",
"type": "Dice",
"var_name": "dice"
},
{
"declarator": "builder",
"modifier": "private",
"original_string": "private LevelBuilder builder;",
"type": "L... | {
"body": "@Test\n public void testGetMask() throws Exception {\n builder = new LevelBuilder(4, dice);\n\n when(dice.next(9)).thenReturn(0,0, 1,2, 3,5, 8,8);\n\n builder.build();\n\n assertM(\"☼☼☼☼☼☼☼☼☼☼☼☼☼\" +\n \"☼???☼???☼?? ☼\" +\n \"☼???☼???☼???☼\" +\n ... | {
"fields": [
{
"declarator": "xy",
"modifier": "private final",
"original_string": "private final LengthToXY xy;",
"type": "LengthToXY",
"var_name": "xy"
},
{
"declarator": "size",
"modifier": "private final",
"original_string": "private final int size;",
... | {
"body": "public String getMask() {\n return withBorders(String.valueOf(mask));\n }",
"class_method_signature": "LevelBuilder.getMask()",
"constructor": false,
"full_signature": "public String getMask()",
"identifier": "getMask",
"invocations": [
"withBorders",
"valueOf"
],
"modifiers... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_385 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Loderunner game;",
"type": "Loderunner",
"var_name": "game"
},
{
"declarator": "hero",
"modifier": "private",
"original_string": "private Hero hero;",
"type": "Her... | {
"body": "@Test\n public void shouldICanGoFromLadderToArea() {\n givenFl(\"☼☼☼☼☼\" +\n \"☼H ☼\" +\n \"☼H# ☼\" +\n \"☼H◄ ☼\" +\n \"☼☼☼☼☼\");\n\n hero.left();\n game.tick();\n\n assertE(\"☼☼☼☼☼\" +\n \"☼H ☼\" +\... | {
"fields": [
{
"declarator": "field",
"modifier": "private",
"original_string": "private Point[][] field;",
"type": "Point[][]",
"var_name": "field"
},
{
"declarator": "players",
"modifier": "private",
"original_string": "private List<Player> players;",
... | {
"body": "@Override\n public void tick() {\n Set<Player> die = new HashSet<>();\n\n heroesGo();\n die.addAll(getDied());\n\n enemiesGo();\n die.addAll(getDied());\n\n die.addAll(bricksGo());\n\n for (Player player : die) {\n player.event(Events.KILL_HERO... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_151 | {
"fields": [
{
"declarator": "WITH_BREAK = true",
"modifier": "private static final",
"original_string": "private static final boolean WITH_BREAK = true;",
"type": "boolean",
"var_name": "WITH_BREAK"
},
{
"declarator": "WITHOUT_BREAK = false",
"modifier": "privat... | {
"body": "@Test\n public void shouldPrintWithBreakWhenSizeIs6() {\n givenFl(\" \" +\n \" \" +\n \" \" +\n \" \" +\n \" \" +\n \" \", 1, WITH_BREAK);\n\n // when\n field.tick();\n\n ... | {
"fields": [
{
"declarator": "generator",
"modifier": "private",
"original_string": "private Generator generator;",
"type": "Generator",
"var_name": "generator"
},
{
"declarator": "numbers",
"modifier": "private",
"original_string": "private Numbers numbers... | {
"body": "@Override\n public void tick() {\n if (isGameOver()) {\n return;\n }\n\n if (numbers.isEmpty()) {\n hero().down();\n }\n\n if (hero().getDirection() != null) {\n numbers.move(hero().getDirection());\n\n generateNewNumber();\n... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_23 | {
"fields": [
{
"declarator": "scores",
"modifier": "private",
"original_string": "private PlayerScores scores;",
"type": "PlayerScores",
"var_name": "scores"
},
{
"declarator": "settings",
"modifier": "private",
"original_string": "private Settings settings... | {
"body": "@Test\n public void shouldWithWithGold() {\n scores = new Scores(0, wrapper);\n\n win(0); //+\n win(1); //+\n win(2); //+\n\n Assert.assertEquals(3 * winScore + 3 * goldScore, scores.getScore());\n }",
"class_method_signature": "ScoresTest.shouldWithWithGold()"... | {
"fields": [
{
"declarator": "score",
"modifier": "private volatile",
"original_string": "private volatile int score;",
"type": "int",
"var_name": "score"
},
{
"declarator": "settings",
"modifier": "private",
"original_string": "private SettingsWrapper sett... | {
"body": "@Override\n public Object getScore() {\n return score;\n }",
"class_method_signature": "Scores.getScore()",
"constructor": false,
"full_signature": "@Override public Object getScore()",
"identifier": "getScore",
"invocations": [],
"modifiers": "@Override public",
"parameters": "(... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_501 | {
"fields": [],
"file": "CodingDojo/games/kata/src/test/java/com/codenjoy/dojo/kata/model/levels/algorithms/Sequence1AlgorithmTest.java",
"identifier": "Sequence1AlgorithmTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void shouldWork() {\n Sequence1Algorithm algorithm = new Sequence1Algorithm();\n assertEquals(\"101\", algorithm.get(\"1\"));\n assertEquals(\"112\", algorithm.get(\"2\"));\n assertEquals(\"131\", algorithm.get(\"3\"));\n assertEquals(\"415\", algorithm.... | {
"fields": [],
"file": "CodingDojo/games/kata/src/main/java/com/codenjoy/dojo/kata/model/levels/algorithms/Sequence1Algorithm.java",
"identifier": "Sequence1Algorithm",
"interfaces": "",
"methods": [
{
"class_method_signature": "Sequence1Algorithm.get(int n)",
"constructor": false,
"ful... | {
"body": "@Override\n public String get(int n) {\n StringBuilder b = new StringBuilder();\n\n for(int i = 0; i < 1000; i++) {\n b.append(String.valueOf(10 + i));\n }\n\n String result = b.toString();\n\n return result.substring((n - 1)*3, n*3);\n }",
"class_metho... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_852 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Quadro game;",
"type": "Quadro",
"var_name": "game"
},
{
"declarator": "hero1",
"modifier": "private",
"original_string": "private Hero hero1;",
"type": "Hero",
... | {
"body": "@Test\n public void shouldNothing_directionBottomLeftToTopRightActiveAndAlienChip() {\n givenFl(\" \" +\n \" \" +\n \" \" +\n \" \" +\n \" x \" +\n \" oo \" +\n \" ... | {
"fields": [
{
"declarator": "TIMEOUT_TICKS = 15",
"modifier": "static final",
"original_string": "static final int TIMEOUT_TICKS = 15;",
"type": "int",
"var_name": "TIMEOUT_TICKS"
},
{
"declarator": "CHIPS_LENGTH_TO_WIN = 4",
"modifier": "private static final",
... | {
"body": "@Override\n public void tick() {\n if (!isGameStarted()) return;\n\n if (gameOver > 0) {\n if (++gameOver > TIMEOUT_TICKS) {\n chips.clear();\n gameOver = 0;\n } else {\n return;\n }\n }\n\n chipMov... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_917 | {
"fields": [
{
"declarator": "playerGamesView",
"modifier": "private",
"original_string": "private PlayerGamesView playerGamesView;",
"type": "PlayerGamesView",
"var_name": "playerGamesView"
},
{
"declarator": "playerGames",
"modifier": "private",
"original... | {
"body": "@Test\n public void shouldGetDecoders() {\n // given\n GameType gameType1 = addNewGameType(\"gameName1\", 1234, inv -> mock(GameField.class));\n when(gameType1.getPlots()).thenReturn(Elements1.values());\n\n GameType gameType2 = addNewGameType(\"gameName2\", 1234, inv -> mock... | {
"fields": [
{
"declarator": "service",
"modifier": "@Autowired\n protected",
"original_string": "@Autowired\n protected PlayerGames service;",
"type": "PlayerGames",
"var_name": "service"
}
],
"file": "CodingDojo/server/src/main/java/com/codenjoy/dojo/services/PlayerG... | {
"body": "protected Map<String, GuiPlotColorDecoder> getDecoders() {\n return service.getGameTypes().stream()\n .collect(toMap(type -> type.name(),\n type -> new GuiPlotColorDecoder(type.getPlots())));\n }",
"class_method_signature": "PlayerGamesView.getDecoders()",
... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_297 | {
"fields": [
{
"declarator": "dice = mock(Dice.class)",
"modifier": "protected",
"original_string": "protected Dice dice = mock(Dice.class);",
"type": "Dice",
"var_name": "dice"
},
{
"declarator": "ticksPerBullets",
"modifier": "public",
"original_string": ... | {
"body": "@Test\n public void shouldOnlyRotateIfBarrier() {\n givenFl(\"☼☼☼☼☼☼☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ▲╬ ☼\\n\" +\n \"☼☼☼☼☼☼☼\\n\");\n\n hero(... | {
"fields": [
{
"declarator": "size",
"modifier": "private",
"original_string": "private int size;",
"type": "int",
"var_name": "size"
},
{
"declarator": "prizeGen",
"modifier": "private",
"original_string": "private PrizeGenerator prizeGen;",
"type": ... | {
"body": "@Override\n public void tick() {\n removeDeadTanks();\n\n aiGen.dropAll();\n\n List<Tank> tanks = allTanks();\n\n for (Tank tank : tanks) {\n tank.tick();\n }\n\n for (Bullet bullet : bullets()) {\n if (bullet.destroyed()) {\n ... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_628 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Reversi game;",
"type": "Reversi",
"var_name": "game"
},
{
"declarator": "hero1",
"modifier": "private",
"original_string": "private Hero hero1;",
"type": "Hero",
... | {
"body": "@Test\n public void shouldChangeChip_left() {\n givenFl(\" \" +\n \" \" +\n \" \" +\n \" xO \" +\n \" Ox \" +\n \" \" +\n \" \" +\n \" \");\n\... | {
"fields": [
{
"declarator": "flipper",
"modifier": "private",
"original_string": "private Flipper flipper;",
"type": "Flipper",
"var_name": "flipper"
},
{
"declarator": "chips",
"modifier": "private",
"original_string": "private List<Chip> chips;",
"... | {
"body": "@Override\n public void tick() {\n if (isGameOver()) {\n resetField(level);\n return;\n }\n\n getHeroes().forEach(Hero::tick);\n\n if (stop()) {\n return;\n }\n\n if (isGameOver()) {\n whoWin();\n }\n nex... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_278 | {
"fields": [
{
"declarator": "dice = mock(Dice.class)",
"modifier": "protected",
"original_string": "protected Dice dice = mock(Dice.class);",
"type": "Dice",
"var_name": "dice"
},
{
"declarator": "ticksPerBullets",
"modifier": "public",
"original_string": ... | {
"body": "@Test\n public void shouldDestroyFromUpAndDownTwice() {\n givenFl(\"☼☼☼☼☼☼☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ▼ ☼\\n\" +\n \"☼ ╬ ☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼ ☼\\n\" +\n \"☼☼☼☼☼☼☼\\n\");\n\n ... | {
"fields": [
{
"declarator": "size",
"modifier": "private",
"original_string": "private int size;",
"type": "int",
"var_name": "size"
},
{
"declarator": "prizeGen",
"modifier": "private",
"original_string": "private PrizeGenerator prizeGen;",
"type": ... | {
"body": "@Override\n public void tick() {\n removeDeadTanks();\n\n aiGen.dropAll();\n\n List<Tank> tanks = allTanks();\n\n for (Tank tank : tanks) {\n tank.tick();\n }\n\n for (Bullet bullet : bullets()) {\n if (bullet.destroyed()) {\n ... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_782 | {
"fields": [],
"file": "CodingDojo/games/bomberman/src/test/java/com/codenjoy/dojo/bomberman/model/BombermanTest.java",
"identifier": "BombermanTest",
"interfaces": "",
"superclass": "extends AbstractBombermanTest"
} | {
"body": "@Test\n public void shouldFireEventWhenKillWall() {\n destroyWallAt(0, 0);\n\n dice(heroDice, 1, 0);\n givenBoard(SIZE);\n\n asrtBrd(\" \\n\" +\n \" \\n\" +\n \" \\n\" +\n \" \\n\" +\n \"#☺ \\n\");\... | {
"fields": [
{
"declarator": "ACTIVE_ALIVE = true",
"modifier": "public static final",
"original_string": "public static final boolean ACTIVE_ALIVE = true;",
"type": "boolean",
"var_name": "ACTIVE_ALIVE"
},
{
"declarator": "ALL = !ACTIVE_ALIVE",
"modifier": "publ... | {
"body": "@Override\n public Dice dice() {\n return dice;\n }",
"class_method_signature": "Bomberman.dice()",
"constructor": false,
"full_signature": "@Override public Dice dice()",
"identifier": "dice",
"invocations": [],
"modifiers": "@Override public",
"parameters": "()",
"return": "D... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_844 | {
"fields": [
{
"declarator": "game",
"modifier": "private",
"original_string": "private Quadro game;",
"type": "Quadro",
"var_name": "game"
},
{
"declarator": "hero1",
"modifier": "private",
"original_string": "private Hero hero1;",
"type": "Hero",
... | {
"body": "@Test\n public void shouldSkipNotValidActCommands_moreThanSize() {\n givenFl(\" \" +\n \" \" +\n \" \" +\n \" \" +\n \" \" +\n \" \" +\n \" \" +\n ... | {
"fields": [
{
"declarator": "TIMEOUT_TICKS = 15",
"modifier": "static final",
"original_string": "static final int TIMEOUT_TICKS = 15;",
"type": "int",
"var_name": "TIMEOUT_TICKS"
},
{
"declarator": "CHIPS_LENGTH_TO_WIN = 4",
"modifier": "private static final",
... | {
"body": "@Override\n public void tick() {\n if (!isGameStarted()) return;\n\n if (gameOver > 0) {\n if (++gameOver > TIMEOUT_TICKS) {\n chips.clear();\n gameOver = 0;\n } else {\n return;\n }\n }\n\n chipMov... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
17612803_517 | {
"fields": [],
"file": "CodingDojo/games/kata/src/test/java/com/codenjoy/dojo/kata/model/levels/LevelsLoaderTest.java",
"identifier": "LevelsLoaderTest",
"interfaces": "",
"superclass": ""
} | {
"body": "@Test\n public void test() {\n List<Level> levels = LevelsLoader.getAlgorithmsOrderedByComplexity();\n assertTrue(!levels.isEmpty());\n\n for (Level level : levels) {\n Class<? extends Level> aClass = level.getClass();\n\n assertFalse(Modifier.isAbstract(aClass... | {
"fields": [
{
"declarator": "classes",
"modifier": "private static",
"original_string": "private static List<Class<? extends Level>> classes;",
"type": "List<Class<? extends Level>>",
"var_name": "classes"
}
],
"file": "CodingDojo/games/kata/src/main/java/com/codenjoy/dojo/... | {
"body": "public static List<Level> getAlgorithmsOrderedByComplexity() {\n List<Class<? extends Level>> classes = loadClasses();\n\n List<Level> result = createLevels(classes);\n\n sortByComplexity(result);\n\n return result;\n }",
"class_method_signature": "LevelsLoader.getAlgorithm... | {
"created": null,
"fork": null,
"fork_count": 151,
"is_fork": false,
"language": "Java",
"license": "licensed",
"repo_id": 17612803,
"size": 131996,
"stargazer_count": 59,
"stars": null,
"updates": null,
"url": "https://github.com/codenjoyme/codenjoy"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.