Skip to content

Commit

Permalink
schema: rename presentationml to pml
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaliance committed Sep 23, 2017
1 parent ca6c54d commit cfd7487
Show file tree
Hide file tree
Showing 356 changed files with 1,407 additions and 1,408 deletions.
5 changes: 2 additions & 3 deletions presentation/presentation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ import (
"os"

"baliance.com/gooxml"
"baliance.com/gooxml/common"
"baliance.com/gooxml/measurement"
"baliance.com/gooxml/schema/soo/drawingml"

"baliance.com/gooxml/common"
dml "baliance.com/gooxml/schema/soo/drawingml"
"baliance.com/gooxml/schema/soo/officeDocument/sharedTypes"
pml "baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
"baliance.com/gooxml/zippkg"
)

Expand Down
2 changes: 1 addition & 1 deletion presentation/slide.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

package presentation

import pml "baliance.com/gooxml/schema/soo/presentationml"
import "baliance.com/gooxml/schema/soo/pml"

type Slide struct {
sid *pml.CT_SlideIdListEntry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestAG_ChildSlideConstructor(t *testing.T) {
v := presentationml.NewAG_ChildSlide()
v := pml.NewAG_ChildSlide()
if v == nil {
t.Errorf("presentationml.NewAG_ChildSlide must return a non-nil value")
t.Errorf("pml.NewAG_ChildSlide must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.AG_ChildSlide should validate: %s", err)
t.Errorf("newly constructed pml.AG_ChildSlide should validate: %s", err)
}
}

func TestAG_ChildSlideMarshalUnmarshal(t *testing.T) {
v := presentationml.NewAG_ChildSlide()
v := pml.NewAG_ChildSlide()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewAG_ChildSlide()
v2 := pml.NewAG_ChildSlide()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestAG_OleConstructor(t *testing.T) {
v := presentationml.NewAG_Ole()
v := pml.NewAG_Ole()
if v == nil {
t.Errorf("presentationml.NewAG_Ole must return a non-nil value")
t.Errorf("pml.NewAG_Ole must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.AG_Ole should validate: %s", err)
t.Errorf("newly constructed pml.AG_Ole should validate: %s", err)
}
}

func TestAG_OleMarshalUnmarshal(t *testing.T) {
v := presentationml.NewAG_Ole()
v := pml.NewAG_Ole()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewAG_Ole()
v2 := pml.NewAG_Ole()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestAG_TLBuildConstructor(t *testing.T) {
v := presentationml.NewAG_TLBuild()
v := pml.NewAG_TLBuild()
if v == nil {
t.Errorf("presentationml.NewAG_TLBuild must return a non-nil value")
t.Errorf("pml.NewAG_TLBuild must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.AG_TLBuild should validate: %s", err)
t.Errorf("newly constructed pml.AG_TLBuild should validate: %s", err)
}
}

func TestAG_TLBuildMarshalUnmarshal(t *testing.T) {
v := presentationml.NewAG_TLBuild()
v := pml.NewAG_TLBuild()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewAG_TLBuild()
v2 := pml.NewAG_TLBuild()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestCT_ApplicationNonVisualDrawingPropsConstructor(t *testing.T) {
v := presentationml.NewCT_ApplicationNonVisualDrawingProps()
v := pml.NewCT_ApplicationNonVisualDrawingProps()
if v == nil {
t.Errorf("presentationml.NewCT_ApplicationNonVisualDrawingProps must return a non-nil value")
t.Errorf("pml.NewCT_ApplicationNonVisualDrawingProps must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.CT_ApplicationNonVisualDrawingProps should validate: %s", err)
t.Errorf("newly constructed pml.CT_ApplicationNonVisualDrawingProps should validate: %s", err)
}
}

func TestCT_ApplicationNonVisualDrawingPropsMarshalUnmarshal(t *testing.T) {
v := presentationml.NewCT_ApplicationNonVisualDrawingProps()
v := pml.NewCT_ApplicationNonVisualDrawingProps()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewCT_ApplicationNonVisualDrawingProps()
v2 := pml.NewCT_ApplicationNonVisualDrawingProps()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestCT_BackgroundPropertiesConstructor(t *testing.T) {
v := presentationml.NewCT_BackgroundProperties()
v := pml.NewCT_BackgroundProperties()
if v == nil {
t.Errorf("presentationml.NewCT_BackgroundProperties must return a non-nil value")
t.Errorf("pml.NewCT_BackgroundProperties must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.CT_BackgroundProperties should validate: %s", err)
t.Errorf("newly constructed pml.CT_BackgroundProperties should validate: %s", err)
}
}

func TestCT_BackgroundPropertiesMarshalUnmarshal(t *testing.T) {
v := presentationml.NewCT_BackgroundProperties()
v := pml.NewCT_BackgroundProperties()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewCT_BackgroundProperties()
v2 := pml.NewCT_BackgroundProperties()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestCT_BackgroundConstructor(t *testing.T) {
v := presentationml.NewCT_Background()
v := pml.NewCT_Background()
if v == nil {
t.Errorf("presentationml.NewCT_Background must return a non-nil value")
t.Errorf("pml.NewCT_Background must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.CT_Background should validate: %s", err)
t.Errorf("newly constructed pml.CT_Background should validate: %s", err)
}
}

func TestCT_BackgroundMarshalUnmarshal(t *testing.T) {
v := presentationml.NewCT_Background()
v := pml.NewCT_Background()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewCT_Background()
v2 := pml.NewCT_Background()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml_test
package pml_test

import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/presentationml"
"baliance.com/gooxml/schema/soo/pml"
)

func TestCT_BuildListConstructor(t *testing.T) {
v := presentationml.NewCT_BuildList()
v := pml.NewCT_BuildList()
if v == nil {
t.Errorf("presentationml.NewCT_BuildList must return a non-nil value")
t.Errorf("pml.NewCT_BuildList must return a non-nil value")
}
if err := v.Validate(); err != nil {
t.Errorf("newly constructed presentationml.CT_BuildList should validate: %s", err)
t.Errorf("newly constructed pml.CT_BuildList should validate: %s", err)
}
}

func TestCT_BuildListMarshalUnmarshal(t *testing.T) {
v := presentationml.NewCT_BuildList()
v := pml.NewCT_BuildList()
buf, _ := xml.Marshal(v)
v2 := presentationml.NewCT_BuildList()
v2 := pml.NewCT_BuildList()
xml.Unmarshal(buf, v2)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// appearing in the file LICENSE included in the packaging of this file. A
// commercial license can be purchased by contacting [email protected].

package presentationml
package pml

import (
"encoding/xml"
Expand Down
Loading

0 comments on commit cfd7487

Please sign in to comment.