This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SomeTests extends BaseTest { | |
| @Test(groups = {"android", "ios"}) | |
| public void onboardingTest1(Method method) { | |
| String pin = data.getRandomPIN(); | |
| OnboardingPage onboardingPage = new OnboardingPage(driverFactory.getDriver(method.getName())); | |
| onboardingPage.initiate() | |
| .enterPhoneDetails(data.getRandomPhoneNumber()) | |
| .enterOTP(data.getTestOTP()) | |
| .enterPinDetails(pin, pin) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "flag" | |
| "os" | |
| "time" | |
| "github.com/coding-yogi/goperf/log" | |
| "github.com/coding-yogi/goperf/tests" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| final String queueManagerName = "manager"; | |
| final String queueName = "DEV.QUEUE.1"; | |
| final String channelName = "DEV.APP.SVRCONN"; | |
| //final String replyQueue = ""; | |
| final String host = "10.23.142.85"; | |
| final int port = 1414; | |
| //MQ Properties | |
| Hashtable<String, Object> props = new Hashtable<>(); | |
| props.put(MQConstants.HOST_NAME_PROPERTY, host); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.time.Duration; | |
| import java.time.Instant; | |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| public class StreamsProgram { | |
| public static void main(String args[]) { | |
| List<String> someCrazyLowerCaseWords = Arrays.asList("gregrerege","rgregergregregrgteg","jiuiyikuyiuykuyk","dwqdwqdddqwwdw","bcvdvbdvhfbvfhv","fhgywefgwehbcj","fghruwebvvdjsnvdfjsv","wpoeopwquroiweqre", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "gobot.io/x/gobot" | |
| "gobot.io/x/gobot/drivers/gpio" | |
| "gobot.io/x/gobot/platforms/dexter/gopigo3" | |
| "gobot.io/x/gobot/platforms/raspi" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public T ClickNext<T>() where T : PageOps | |
| { | |
| _page.SubmitDetails.Click(); | |
| if (typeof(T) == GetType()) | |
| return (T)Convert.ChangeType(this, typeof(T)); | |
| return (T)Activator.CreateInstance(typeof(T), new object[] { PageOpsContextExtension }); | |
| } |