Giter Site home page Giter Site logo

ddata-core's People

Contributors

csonti4000 avatar daevne avatar dependabot[bot] avatar netdjw avatar

Watchers

 avatar

Forkers

csonti4000 daevne

ddata-core's Issues

Create test for Search model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type
  5. The model should have the following functions:
  • init
  • prepareToSave
  1. The above listed functions should provide correct output

Create test for Notification model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type

Create test for Base model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type
  5. The model should have the following functions:
  • init
  • prepareToSave
  • validate
  • getValidatedErrorFields
  • setDate
  • getCurrentISODate
  • toISODate
  • toISODatetime
  • toISOTime
  • getCurrentUserId
  • getDefaultDevizaId
  • calculateDateWithoutWeekend
  • prepareFieldsToSaveAsString
  • prepareFieldsToSaveAsNumber
  • prepareFieldsToSaveAsBooelan
  • initModelOrNull
  • initAsBoolean
  • initAsBooleanWithDefaults
  • fieldAsBoolean
  • initAsString
  • initAsStringWithDefaults
  • fieldAsString
  • initAsNumber
  • initAsNumberWithDefaults
  • fieldAsNumber
  • getCurrentTime
  1. The above listed functions should provide correct output

Create test for SearchResult model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type
  5. The model should have the following functions:
  • init
  1. The above listed functions should provide correct output

Create test for BaseCreateEdit component

Need to be tested:

  • The component needs to be created
  • The component should depends on the helperService
  • The component should have all required input parameters
  • The isModal input should be set the property to false
  • The saveToStorage input should set the property to true
  • The model property input should create a new empty model based on the given type
  • The other properties of the component should be set correctly from the data input
  • The component should have the following functions:
  • the ngOnInit function should runs the load function,
  • the load function should load one instance of model with a given id,
  • the save function should save the current model,
  • the save saveAsNew function should save the model as a new instance,
  • the stepBack function should navigate to the {model.api_endpoint}/list URL,
  • the stepBack function in case of modal dialog should emits null in saveModel output
  • The component should have a saveModel ouput parameter
  • saveModel should be an EventEmitter

Create test for InitialData model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type
  5. The model should have the following functions:
  • set refreshTime
  • get refreshTime
  1. The above listed functions should get and set data correctly

[dd-select] Teszt

a folyamat nem igazán jól van tesztelve. Jelenleg ezt teszteled:

  • létrehozod a komponenst
  • beállítod rajta a dialogSettings mezőt
  • kinyitod a dialogot
  • a komponenshez hozzáadsz egy kijelölt elemet
  • Helyette ezt kellene tesztelni:
  1. létrehozod a komponenst
  2. beállítod rajta a dialogSettings mezőt
    2.1. beállítod a dialog beállításokban, hogy melyik model-ek vannak kijelölve
  3. kinyitod a dialogot (elemre kattintással, nem property állítgatással)
  4. ellenőrzöd, hogy ki van-e jelölve, aminek ki kell
  5. bezárod a dialogot (elemre kattintással, nem property állítgatással)
  6. ellenőrzöd, hogy a megfelelő helyen a HTML-ben megjelenik-e a kiválaszott adat
  7. újra kinyitod (elemre kattintással)
  8. próbálod kattintással módosítani a kiválasztottakat
  9. bezárod
  10. ellenőrzöd, hogy a megfelelő helyen a HTML-ben megjelenik-e a kiválaszott adat

Review test for Filesize pipe

Need to be tested:

The pipe should be transforms data correctly when:

  • the value is null
  • the value is undefined
  • the value is 0
  • the value is not divisible with 1024
  • the unit is 'kb'
  • the unit is 'mb
  • the unit is 'gb'
  • the decimals are 0 or undefined

dd-select single mode id felülírás

Ahol a dd-select single módban van használva, ott a model.id-t is felülírja nem csak a model.property_id-t, valamint a selected() és selectModel()-ek nem emittálódnak.

dd-input-date componens nem működik

Ha írok bele dátumot '2020-01-01' akkor hibásnak érzékeli.
Ha rákattintok a dátum ikonra nem hozza elő a napárat és nem tudok dátumot választani

Review test for Description pipe

Need to be tested:

  1. The pipe needs to be created

  2. The pipe should be transforms data correctly when:

  • the value is null or undefined
  • the value contains a phone number
  • the value contains an email address
  • the value contains an url
  • the value contains a description
  • the value contains other plain text

Create test for Paginate model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type

WARNING: Circular dependency

build time:

WARNING: Circular dependency: dist\ddata-core\esm2015\lib\ddata-core.module.js -> dist\ddata-core\esm2015\lib\services\error-handler\app-error-handler.js -> dist\ddata-core\esm2015\lib\ddata-core.module.js

Create test for File model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type
  5. The model should have the following functions:
  • init
  • prepareToSave
  1. The above listed functions should provide correct output

Create test for SearchModelFunctions model

Need to be tested:

  1. The model needs to be created
  2. The model should have all required properties
  3. All properties should have correct type
  4. The model should have the following functions:
  • init
  • setUrl
  • setIcon
  1. The above listed functions should provide correct output

Create test for Selectable model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type

Hibaüzenet részletezése

ddata-ban ne statikus hibaüzenet jelenjen meg nem feldolgozható kérés, hanem specifikusan azt mutassa a hibaüzenet, hogy pontosan mi a hiba.

dd-select should has a component as parameter what can show multiple selected items

Right now the dd-select component can show selected items as tags, but what if I pass in a list component for this purpose?

This feature can give a huge personalization advantage for the component. For example if I can select products with images I can show the product image with this feature. Or if I select color samples for product, I can show a nice colored square list.

Create test for ValidationError model

Need to be tested:

  1. The model needs to be created
  2. The model needs to be created as a correct type
  3. The model should have all required properties
  4. All properties should have correct type

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.