Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class CreateCdnKeyAkamaiTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String AKAMAI_KEY_ID = TestUtils.getCdnKeyId();
private static final String HOSTNAME = "cdn.example.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class CreateCdnKeyTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String CLOUD_CDN_KEY_ID = TestUtils.getCdnKeyId();
private static final String MEDIA_CDN_KEY_ID = TestUtils.getCdnKeyId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class CreateLiveSessionTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String LIVE_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-live/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class CreateSlateTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String SLATE_ID = TestUtils.getSlateId();
private static final String SLATE_URI =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,22 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertNotNull;

import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class CreateVodSessionTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String VOD_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-vod/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class DeleteCdnKeyTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String CLOUD_CDN_KEY_ID = TestUtils.getCdnKeyId();
private static final String MEDIA_CDN_KEY_ID = TestUtils.getCdnKeyId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class DeleteSlateTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String SLATE_ID = TestUtils.getSlateId();
private static final String SLATE_URI =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetCdnKeyTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String CLOUD_CDN_KEY_ID = TestUtils.getCdnKeyId();
private static final String MEDIA_CDN_KEY_ID = TestUtils.getCdnKeyId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand All @@ -29,13 +30,15 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetLiveAdTagDetailTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String LIVE_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-live/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand All @@ -29,13 +30,15 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetLiveSessionTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String LIVE_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-live/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetSlateTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String SLATE_ID = TestUtils.getSlateId();
private static final String SLATE_URI =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertNotNull;

import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand All @@ -28,13 +29,15 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetVodAdTagDetailTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String VOD_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-vod/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,22 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertNotNull;

import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetVodSessionTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String VOD_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-vod/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertNotNull;

import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand All @@ -28,13 +29,15 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class GetVodStitchDetailTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String VOD_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-vod/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class ListCdnKeysTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String CLOUD_CDN_KEY_ID = TestUtils.getCdnKeyId();
private static final String MEDIA_CDN_KEY_ID = TestUtils.getCdnKeyId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
Expand All @@ -29,13 +30,15 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class ListLiveAdTagDetailsTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String LIVE_URI =
"https://storage.googleapis.com/cloud-samples-data/media/hls-live/manifest.m3u8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,22 @@
import static org.junit.Assert.assertNotNull;

import com.google.api.gax.rpc.NotFoundException;
import com.google.cloud.testing.junit4.MultipleAttemptsRule;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@RunWith(JUnit4.class)
public class ListSlatesTest {

@Rule public final MultipleAttemptsRule multipleAttemptsRule = new MultipleAttemptsRule(5);
private static final String LOCATION = "us-central1";
private static final String SLATE_ID = TestUtils.getSlateId();
private static final String SLATE_URI =
Expand Down
Loading