This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from docascode/sdp
refine test cases and expected results
- Loading branch information
Showing
133 changed files
with
2,926 additions
and
4,506 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
18 changes: 18 additions & 0 deletions
18
src/test/java/com/microsoft/samples/subpackage/HttpStatusCode.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.microsoft.samples.subpackage; | ||
|
||
public class HttpStatusCode | ||
{ | ||
public static final int BADREQUEST = 400; | ||
|
||
public static final int UNAUTHORIZED = 401; | ||
|
||
public static final int FORBIDDEN = 403; | ||
|
||
public static final int NOTFOUND = 404; | ||
|
||
public static final int CONFLICT = 409; | ||
|
||
public static final int SERVICEUNAVAILABLE = 503; | ||
|
||
public static final int EXPECTATIONFAILED = 417; | ||
} |
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
...ected-generated-files/com.microsoft.samples.BasePartnerComponent.BasePartnerComponent.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
### YamlMime:JavaMember | ||
uid: com.microsoft.samples.BasePartnerComponent.BasePartnerComponent* | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.BasePartnerComponent | ||
name: BasePartnerComponent | ||
nameWithType: BasePartnerComponent<TContext>.BasePartnerComponent | ||
members: | ||
- uid: com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext) | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext) | ||
name: BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext) | ||
nameWithType: BasePartnerComponent<TContext>.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext) | ||
summary: Initializes a new instance of the BasePartnerComponent class. | ||
parameters: | ||
- description: The root partner operations that created this component. | ||
name: rootPartnerOperations | ||
type: <xref href="com.microsoft.samples.IPartner?alt=com.microsoft.samples.IPartner&text=IPartner" data-throw-if-not-resolved="False" /> | ||
- description: A component context object to work with. | ||
name: componentContext | ||
type: <xref href="TContext?alt=TContext&text=TContext" data-throw-if-not-resolved="False" /> | ||
syntax: protected BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext) | ||
type: constructor | ||
metadata: {} | ||
package: com.microsoft.samples |
14 changes: 14 additions & 0 deletions
14
...esources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testBase.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### YamlMime:JavaMember | ||
uid: com.microsoft.samples.BasePartnerComponent.testBase* | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.testBase | ||
name: testBase | ||
nameWithType: BasePartnerComponent<TContext>.testBase | ||
members: | ||
- uid: com.microsoft.samples.BasePartnerComponent.testBase() | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.testBase() | ||
name: testBase() | ||
nameWithType: BasePartnerComponent<TContext>.testBase() | ||
syntax: protected void testBase() | ||
type: method | ||
metadata: {} | ||
package: com.microsoft.samples |
14 changes: 14 additions & 0 deletions
14
...ces/expected-generated-files/com.microsoft.samples.BasePartnerComponent.testInherited.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### YamlMime:JavaMember | ||
uid: com.microsoft.samples.BasePartnerComponent.testInherited* | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.testInherited | ||
name: testInherited | ||
nameWithType: BasePartnerComponent<TContext>.testInherited | ||
members: | ||
- uid: com.microsoft.samples.BasePartnerComponent.testInherited() | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext>.testInherited() | ||
name: testInherited() | ||
nameWithType: BasePartnerComponent<TContext>.testInherited() | ||
syntax: protected void testInherited() | ||
type: method | ||
metadata: {} | ||
package: com.microsoft.samples |
182 changes: 31 additions & 151 deletions
182
src/test/resources/expected-generated-files/com.microsoft.samples.BasePartnerComponent.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,151 +1,31 @@ | ||
### YamlMime:ManagedReference | ||
items: | ||
- uid: "com.microsoft.samples.BasePartnerComponent" | ||
id: "BasePartnerComponent" | ||
parent: "com.microsoft.samples" | ||
children: | ||
- "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" | ||
- "com.microsoft.samples.BasePartnerComponent.testBase()" | ||
- "com.microsoft.samples.BasePartnerComponent.testInherited()" | ||
langs: | ||
- "java" | ||
name: "BasePartnerComponent<TContext>" | ||
nameWithType: "BasePartnerComponent<TContext>" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>" | ||
type: "Class" | ||
package: "com.microsoft.samples" | ||
summary: "Holds common partner component properties and behavior. All components should inherit from this class. The context object type." | ||
syntax: | ||
content: "public abstract class BasePartnerComponent<TContext>" | ||
typeParameters: | ||
- id: "TContext" | ||
inheritance: | ||
- "java.lang.Object" | ||
inheritedMembers: | ||
- "java.lang.Object.clone()" | ||
- "java.lang.Object.equals(java.lang.Object)" | ||
- "java.lang.Object.finalize()" | ||
- "java.lang.Object.getClass()" | ||
- "java.lang.Object.hashCode()" | ||
- "java.lang.Object.notify()" | ||
- "java.lang.Object.notifyAll()" | ||
- "java.lang.Object.toString()" | ||
- "java.lang.Object.wait()" | ||
- "java.lang.Object.wait(long)" | ||
- "java.lang.Object.wait(long,int)" | ||
- uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" | ||
id: "BasePartnerComponent(com.microsoft.samples.IPartner,TContext)" | ||
parent: "com.microsoft.samples.BasePartnerComponent" | ||
langs: | ||
- "java" | ||
name: "BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" | ||
nameWithType: "BasePartnerComponent<TContext>.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" | ||
overload: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" | ||
type: "Constructor" | ||
package: "com.microsoft.samples" | ||
summary: "Initializes a new instance of the BasePartnerComponent class." | ||
syntax: | ||
content: "protected BasePartnerComponent(IPartner rootPartnerOperations, TContext componentContext)" | ||
parameters: | ||
- id: "rootPartnerOperations" | ||
type: "com.microsoft.samples.IPartner" | ||
description: "The root partner operations that created this component." | ||
- id: "componentContext" | ||
type: "TContext" | ||
description: "A component context object to work with." | ||
- uid: "com.microsoft.samples.BasePartnerComponent.testBase()" | ||
id: "testBase()" | ||
parent: "com.microsoft.samples.BasePartnerComponent" | ||
langs: | ||
- "java" | ||
name: "testBase()" | ||
nameWithType: "BasePartnerComponent<TContext>.testBase()" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.testBase()" | ||
overload: "com.microsoft.samples.BasePartnerComponent.testBase*" | ||
type: "Method" | ||
package: "com.microsoft.samples" | ||
syntax: | ||
content: "protected void testBase()" | ||
- uid: "com.microsoft.samples.BasePartnerComponent.testInherited()" | ||
id: "testInherited()" | ||
parent: "com.microsoft.samples.BasePartnerComponent" | ||
langs: | ||
- "java" | ||
name: "testInherited()" | ||
nameWithType: "BasePartnerComponent<TContext>.testInherited()" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.testInherited()" | ||
overload: "com.microsoft.samples.BasePartnerComponent.testInherited*" | ||
type: "Method" | ||
package: "com.microsoft.samples" | ||
syntax: | ||
content: "protected void testInherited()" | ||
references: | ||
- uid: "com.microsoft.samples.IPartner" | ||
name: "IPartner" | ||
nameWithType: "IPartner" | ||
fullName: "com.microsoft.samples.IPartner" | ||
- uid: "TContext" | ||
spec.java: | ||
- uid: "TContext" | ||
name: "TContext" | ||
fullName: "TContext" | ||
- uid: "com.microsoft.samples.BasePartnerComponent.BasePartnerComponent*" | ||
name: "BasePartnerComponent" | ||
nameWithType: "BasePartnerComponent<TContext>.BasePartnerComponent" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.BasePartnerComponent" | ||
package: "com.microsoft.samples" | ||
- uid: "com.microsoft.samples.BasePartnerComponent.testBase*" | ||
name: "testBase" | ||
nameWithType: "BasePartnerComponent<TContext>.testBase" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.testBase" | ||
package: "com.microsoft.samples" | ||
- uid: "com.microsoft.samples.BasePartnerComponent.testInherited*" | ||
name: "testInherited" | ||
nameWithType: "BasePartnerComponent<TContext>.testInherited" | ||
fullName: "com.microsoft.samples.BasePartnerComponent<TContext>.testInherited" | ||
package: "com.microsoft.samples" | ||
- uid: "java.lang.Object.notify()" | ||
name: "Object.notify()" | ||
nameWithType: "Object.notify()" | ||
fullName: "java.lang.Object.notify()" | ||
- uid: "java.lang.Object.wait()" | ||
name: "Object.wait()" | ||
nameWithType: "Object.wait()" | ||
fullName: "java.lang.Object.wait()" | ||
- uid: "java.lang.Object.finalize()" | ||
name: "Object.finalize()" | ||
nameWithType: "Object.finalize()" | ||
fullName: "java.lang.Object.finalize()" | ||
- uid: "java.lang.Object.clone()" | ||
name: "Object.clone()" | ||
nameWithType: "Object.clone()" | ||
fullName: "java.lang.Object.clone()" | ||
- uid: "java.lang.Object.notifyAll()" | ||
name: "Object.notifyAll()" | ||
nameWithType: "Object.notifyAll()" | ||
fullName: "java.lang.Object.notifyAll()" | ||
- uid: "java.lang.Object.equals(java.lang.Object)" | ||
name: "Object.equals(Object)" | ||
nameWithType: "Object.equals(Object)" | ||
fullName: "java.lang.Object.equals(java.lang.Object)" | ||
- uid: "java.lang.Object.getClass()" | ||
name: "Object.getClass()" | ||
nameWithType: "Object.getClass()" | ||
fullName: "java.lang.Object.getClass()" | ||
- uid: "java.lang.Object.wait(long)" | ||
name: "Object.wait(long)" | ||
nameWithType: "Object.wait(long)" | ||
fullName: "java.lang.Object.wait(long)" | ||
- uid: "java.lang.Object.hashCode()" | ||
name: "Object.hashCode()" | ||
nameWithType: "Object.hashCode()" | ||
fullName: "java.lang.Object.hashCode()" | ||
- uid: "java.lang.Object.wait(long,int)" | ||
name: "Object.wait(long,int)" | ||
nameWithType: "Object.wait(long,int)" | ||
fullName: "java.lang.Object.wait(long,int)" | ||
- uid: "java.lang.Object.toString()" | ||
name: "Object.toString()" | ||
nameWithType: "Object.toString()" | ||
fullName: "java.lang.Object.toString()" | ||
### YamlMime:JavaType | ||
uid: com.microsoft.samples.BasePartnerComponent | ||
fullName: com.microsoft.samples.BasePartnerComponent<TContext> | ||
name: BasePartnerComponent<TContext> | ||
nameWithType: BasePartnerComponent<TContext> | ||
summary: Holds common partner component properties and behavior. All components should inherit from this class. The context object type. | ||
inheritances: | ||
- <xref href="java.lang.Object" data-throw-if-not-resolved="False" /> | ||
inheritedMembers: | ||
- java.lang.Object.clone() | ||
- java.lang.Object.equals(java.lang.Object) | ||
- java.lang.Object.finalize() | ||
- java.lang.Object.getClass() | ||
- java.lang.Object.hashCode() | ||
- java.lang.Object.notify() | ||
- java.lang.Object.notifyAll() | ||
- java.lang.Object.toString() | ||
- java.lang.Object.wait() | ||
- java.lang.Object.wait(long) | ||
- java.lang.Object.wait(long,int) | ||
syntax: public abstract class BasePartnerComponent<TContext> | ||
constructors: | ||
- com.microsoft.samples.BasePartnerComponent.BasePartnerComponent(com.microsoft.samples.IPartner,TContext) | ||
methods: | ||
- com.microsoft.samples.BasePartnerComponent.testBase() | ||
- com.microsoft.samples.BasePartnerComponent.testInherited() | ||
type: class | ||
typeParameters: | ||
- name: TContext | ||
metadata: {} | ||
package: com.microsoft.samples |
Oops, something went wrong.