jec-sandcat
Version:
JEC Sandcat - The default RESTful web services framework for GlassCat applications.
126 lines (109 loc) • 3.66 kB
text/typescript
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
//
// Copyright 2016-2018 Pascal ECHEMANN.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { TestSuite, Test } from "jec-juta";
import { expect } from "chai";
import { AnnotationType } from "../../../../../src/com/onsoft/sandcat/reflect/AnnotationType";
// Utilities:
import * as utils from "../../../../../utils/test-utils/utilities/AnnotationTypeTestUtils";
export class AnnotationTypeTest {
public EXITTest():void {
expect(AnnotationType.EXIT).to.equal(utils.EXIT);
}
public PATH_PARAMTest():void {
expect(AnnotationType.PATH_PARAM).to.equal(utils.PATH_PARAM);
}
public QUERY_PARAMTest():void {
expect(AnnotationType.QUERY_PARAM).to.equal(utils.QUERY_PARAM);
}
public HTTP_REQUESTTest():void {
expect(AnnotationType.HTTP_REQUEST).to.equal(utils.HTTP_REQUEST);
}
public REQUEST_BODYTest():void {
expect(AnnotationType.REQUEST_BODY).to.equal(utils.REQUEST_BODY);
}
public COOKIE_PARAMTest():void {
expect(AnnotationType.COOKIE_PARAM).to.equal(utils.COOKIE_PARAM);
}
public GETTest():void {
expect(AnnotationType.GET).to.equal(utils.GET);
}
public POSTTest():void {
expect(AnnotationType.POST).to.equal(utils.POST);
}
public PUTTest():void {
expect(AnnotationType.PUT).to.equal(utils.PUT);
}
public DELETETest():void {
expect(AnnotationType.DELETE).to.equal(utils.DELETE);
}
public CONNECTTest():void {
expect(AnnotationType.CONNECT).to.equal(utils.CONNECT);
}
public HEADTest():void {
expect(AnnotationType.HEAD).to.equal(utils.HEAD);
}
public OPTIONSTest():void {
expect(AnnotationType.OPTIONS).to.equal(utils.OPTIONS);
}
public TRACETest():void {
expect(AnnotationType.TRACE).to.equal(utils.TRACE);
}
}