<commit_before>package org.testobject.api;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.testobject.rest.api.model.AppiumTestReport;
import org.testobject.rest.api.model.DeviceDescriptor;

import java.io.*;
import java.util.List;

public class TestObjectClientTest {

	private static final String USER = "testobject";
	private static final String PASSWORD = "***<PASSWORD>***";

	private static final String PROJECT = "calculatortest";
	private static final long TEST_SUITE = 17;

	private static File APP_APK = new File(TestObjectClientTest.class.getResource("calculator-debug-unaligned.apk").getPath());
	private static File INSTRUMENTATION_APK = new File(TestObjectClientTest.class.getResource("calculator-debug-test-unaligned.apk").getPath());

	private TestObjectClient client;

	@Before
	public void setup(){
		client = TestObjectClient.Factory.create();
	}

	@Test @Ignore
	public void testLogin() {
		client.login(USER, PASSWORD);
	}

	@Test @Ignore
	public void testStartSuite() {
		client.login(USER, PASSWORD);

		client.updateInstrumentationTestSuite(USER, PROJECT, TEST_SUITE, APP_APK, INSTRUMENTATION_APK,null);

		long testSuiteReport = client.startInstrumentationTestSuite(USER, PROJECT, TEST_SUITE);

		client.waitForSuiteReport(USER, PROJECT, testSuiteReport);
	}

	@Test @Ignore
	public void testStartQualityReport() {
		client.login(USER, PASSWORD);

		client.createAppVersion(USER, PROJECT, APP_APK);

		long qualityReportId = client.startQualityReport(USER, PROJECT);
		System.out.println(qualityReportId);
	}

	@Test @Ignore
	public void testGetAvailableDescriptors() {
		List<DeviceDescriptor> deviceDescriptors = client.listDevices();
		for (DeviceDescriptor deviceDescriptor : deviceDescriptors) {
			System.out.println(deviceDescriptor);
		}
	}

	@Test
	public void testGetTestReportAndVideo() throws IOException {
		client.login(USER, PASSWORD);

		AppiumTestReport testReport = client.getTestReport("testobject", "appium-website", 9019);

		try (InputStream video = client.getVideo("testobject", "appium-website", testReport.getVideoId());
			OutputStream file = new FileOutputStream("appium-website-video.mp4")) {

			int read;
			byte[] bytes = new byte[1024];

			while ((read = video.read(bytes)) != -1) {
				file.write(bytes, 0, read);
			}
		}
	}

	@After
	public void tearDown(){
		client.close();
	}

}
<commit_msg>Travis, ignore the new test I created<commit_after>package org.testobject.api;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.testobject.rest.api.model.AppiumTestReport;
import org.testobject.rest.api.model.DeviceDescriptor;

import java.io.*;
import java.util.List;

public class TestObjectClientTest {

	private static final String USER = "testobject";
	private static final String PASSWORD = "***<PASSWORD>***";

	private static final String PROJECT = "calculatortest";
	private static final long TEST_SUITE = 17;

	private static File APP_APK = new File(TestObjectClientTest.class.getResource("calculator-debug-unaligned.apk").getPath());
	private static File INSTRUMENTATION_APK = new File(TestObjectClientTest.class.getResource("calculator-debug-test-unaligned.apk").getPath());

	private TestObjectClient client;

	@Before
	public void setup(){
		client = TestObjectClient.Factory.create();
	}

	@Test @Ignore
	public void testLogin() {
		client.login(USER, PASSWORD);
	}

	@Test @Ignore
	public void testStartSuite() {
		client.login(USER, PASSWORD);

		client.updateInstrumentationTestSuite(USER, PROJECT, TEST_SUITE, APP_APK, INSTRUMENTATION_APK,null);

		long testSuiteReport = client.startInstrumentationTestSuite(USER, PROJECT, TEST_SUITE);

		client.waitForSuiteReport(USER, PROJECT, testSuiteReport);
	}

	@Test @Ignore
	public void testStartQualityReport() {
		client.login(USER, PASSWORD);

		client.createAppVersion(USER, PROJECT, APP_APK);

		long qualityReportId = client.startQualityReport(USER, PROJECT);
		System.out.println(qualityReportId);
	}

	@Test @Ignore
	public void testGetAvailableDescriptors() {
		List<DeviceDescriptor> deviceDescriptors = client.listDevices();
		for (DeviceDescriptor deviceDescriptor : deviceDescriptors) {
			System.out.println(deviceDescriptor);
		}
	}

	@Test @Ignore
	public void testGetTestReportAndVideo() throws IOException {
		client.login(USER, PASSWORD);

		AppiumTestReport testReport = client.getTestReport("testobject", "appium-website", 9019);

		try (InputStream video = client.getVideo("testobject", "appium-website", testReport.getVideoId());
			OutputStream file = new FileOutputStream("appium-website-video.mp4")) {

			int read;
			byte[] bytes = new byte[1024];

			while ((read = video.read(bytes)) != -1) {
				file.write(bytes, 0, read);
			}
		}
	}

	@After
	public void tearDown(){
		client.close();
	}

}

{'fraction_non_alphanumeric': 0.11759868421052631, 'fraction_numerical': 0.005345394736842105, 'mean_word_length': 5.435185185185185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '675478', 'n_tokens_mistral': 1645, 'n_tokens_neox': 1503, 'n_words': 331}