#############################
SKILL NAME: Greeting 1
SKILL ID: 33f1d8ceebf80f5baa5ca305afdcd399
en= Goodbye!, ch= 再见!
en= Hello!, ch= 你好!
#############################
SKILL NAME: Greeting 1
SKILL ID: 33f1d8ceebf80f5baa5ca305afdcd399
en= Goodbye!, ch= 再见!
en= Hello!, ch= 你好!
2020-08-07 12:21:22,935 [358715636] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /Applications/IntelliJ IDEA CE.app/Contents/plugins/java/lib/jps-launcher.jar | |
2020-08-07 12:21:22,978 [358715679] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
2020-08-07 12:21:22,979 [358715680] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation | |
2020-08-07 12:21:22,979 [358715680] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
2020-08-07 12:21:23,161 [358715862] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.St |
package selenium_demo.test_rail; | |
public class APIException extends Exception | |
{ | |
public APIException(String message) | |
{ | |
super(message); | |
} | |
} |
package selenium_demo.hooks; | |
import selenium_demo.test_rail.APIClient; | |
import selenium_demo.test_rail.APIException; | |
import selenium_demo.DriverFactory; | |
import static selenium_demo.test_rail.TestRailAccount.testRailApiClient; | |
import static selenium_demo.utils.Util.getProperties; | |
import cucumber.api.Result; | |
import io.cucumber.core.api.Scenario; |
package selenium_demo.test_rail; | |
/** | |
* TestRail API binding for Java (API v2, available since TestRail 3.0) | |
* Updated for TestRail 5.7 | |
* <p> | |
* Learn more: | |
* <p> | |
* http://docs.gurock.com/testrail-api2/start | |
* http://docs.gurock.com/testrail-api2/accessing |
package selenium_demo.test_rail; | |
import java.util.Properties; | |
import static selenium_demo.utils.Util.getPassProperties; | |
import static selenium_demo.utils.Util.getProperties; | |
public class TestRailAccount { | |
public static APIClient testRailApiClient() { |
dataSnapshot.children.forEach { | |
val answer = it.child("cardAnswer").value as String | |
val question = it.child("cardQuestion").value as String | |
val courseId = it.child("courseId").value as String | |
val cardDs = it.value //map | |
val json = Gson().toJson(cardDs) | |
val card = Gson().fromJson<Card>(json, Card::class.java) | |
// card.cardAnswer = answer |
package com.sw.hc.surge.adapter.fitness | |
import android.arch.paging.PagedListAdapter | |
import android.content.Context | |
import android.support.v7.util.DiffUtil | |
import android.support.v7.widget.RecyclerView | |
import android.view.LayoutInflater | |
import android.view.View | |
import android.view.ViewGroup |
import android.Manifest; | |
import android.app.Activity; | |
import android.content.pm.PackageManager; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; | |
import android.support.v4.app.ActivityCompat; | |
import android.support.v4.app.FragmentManager; | |
import android.util.Log; |