Search in sources :

Example 31 with Proposal

use of com.google.api.ads.admanager.axis.v202205.Proposal in project caom2db by opencadc.

the class CaomRepoTupleTests method testNullDates.

@Test
public void testNullDates() throws Exception {
    final String observationID = generateID("testNullDates");
    final String path = TEST_COLLECTION + "/" + observationID;
    final String productID = generateID(TEST_PRODUCT_ID_PREFIX);
    final String uri = SCHEME + path;
    final Observation observation = new SimpleObservation(TEST_COLLECTION, observationID);
    observation.proposal = new Proposal("proposal777_nulldates");
    final Plane plane = new Plane(productID);
    observation.getPlanes().add(plane);
    // ensurePutAndDelete(observation, uri);
    sendObservation("PUT", observation, subject1, 200, "OK", null);
}
Also used : Plane(ca.nrc.cadc.caom2.Plane) SimpleObservation(ca.nrc.cadc.caom2.SimpleObservation) SimpleObservation(ca.nrc.cadc.caom2.SimpleObservation) Observation(ca.nrc.cadc.caom2.Observation) Proposal(ca.nrc.cadc.caom2.Proposal) Test(org.junit.Test)

Aggregations

StatementBuilder (com.google.api.ads.admanager.axis.utils.v202205.StatementBuilder)9 ProposalServiceInterface (com.google.api.ads.admanager.axis.v202205.ProposalServiceInterface)6 Observation (ca.nrc.cadc.caom2.Observation)5 Proposal (ca.nrc.cadc.caom2.Proposal)5 SimpleObservation (ca.nrc.cadc.caom2.SimpleObservation)5 Proposal (com.google.api.ads.admanager.axis.v202108.Proposal)5 ProposalServiceInterface (com.google.api.ads.admanager.axis.v202108.ProposalServiceInterface)5 Proposal (com.google.api.ads.admanager.axis.v202111.Proposal)5 ProposalServiceInterface (com.google.api.ads.admanager.axis.v202111.ProposalServiceInterface)5 Proposal (com.google.api.ads.admanager.axis.v202202.Proposal)5 ProposalServiceInterface (com.google.api.ads.admanager.axis.v202202.ProposalServiceInterface)5 Proposal (com.google.api.ads.admanager.axis.v202205.Proposal)5 ProposalLineItem (com.google.api.ads.admanager.axis.v202205.ProposalLineItem)5 ProposalLineItemServiceInterface (com.google.api.ads.admanager.axis.v202205.ProposalLineItemServiceInterface)5 Random (java.util.Random)5 Plane (ca.nrc.cadc.caom2.Plane)4 StatementBuilder (com.google.api.ads.admanager.axis.utils.v202108.StatementBuilder)4 StatementBuilder (com.google.api.ads.admanager.axis.utils.v202111.StatementBuilder)4 StatementBuilder (com.google.api.ads.admanager.axis.utils.v202202.StatementBuilder)4 ProposalPage (com.google.api.ads.admanager.axis.v202108.ProposalPage)4